﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="store.aspx.cs" Inherits="Touch2Like.Web.app.store"
    EnableViewState="false" %>

<%@ Import Namespace="Touch2Like.SharedLibrary" %>
<!DOCTYPE html>
<html>
<head runat="server">
    <title></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link href="../css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <link href="../css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css" />
    <script src="/js/jquery.js" type="text/javascript"></script>
    <script type="text/javascript">
        function openlink(obj) {
            var url = $(obj).attr("url2open");
            window.Touch2likeBridge.openurl(url);
        }
    </script>
</head>
<body style="margin: 0px; padding: 0px; border: 0px;">
    <div>
        <asp:Repeater ID="Repeater_Goods" runat="server">
            <ItemTemplate>
                <div style="padding-left: 20px; padding-right: 20px;">
                    <p class="clearfix">
                        <div class="pull-left">
                            <div>
                                <strong>
                                    <%#Eval("ProductName") %></strong></div>
                            <div>
                                <%#Eval("GoodsPrice") %></div>
                            <div>
                                <img src="<%#Eval("PictureLocation") %>" class="img-polaroid" style="max-width: 140px;"
                                    alt='<%#Eval("GoodsName") %>' /></div>
                        </div>
                        <div class="pull-right">
                            <div>
                                <a href='###' url2open='/goods/Cart.aspx?act=Add&c=1&g=<%#Server.UrlEncode(Utility.Encryption.Encrypt(Eval("SKU").ToString())) %>'
                                    onclick='openlink(this)' class="btn" target="_blank" style="background:#98B838; color:White;">Buy Now</a>
                            </div>
                        </div>
                    </p>
                    <div class="clearfix">
                    </div>
                </div>
                <div style="height: 2px; background: #dbdbdb; font-size: 0px; line-height: 0px; margin: 10px 0px 0px 0px;">
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </div>
</body>
</html>
